Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow importing bun.lock (+ types for it) #16244

Merged
merged 16 commits into from
Jan 13, 2025
Merged

Conversation

RiskyMH
Copy link
Member

@RiskyMH RiskyMH commented Jan 8, 2025

What does this PR do?

Allows you to import lockfile from "./bun.lock" and also provides types (to hopefully help 3rd parties understand it). Also adds extension .jsonc that ignores comments too.

I believe the typescript is good, I have tried it myself but maybe I'm being too strict.

How did you verify your code works?

Will add tests

@robobun
Copy link

robobun commented Jan 8, 2025

Updated 10:53 PM PT - Jan 10th, 2025

@RiskyMH, your commit f93dfa2 has passed in #9446! 🎉


🧪   try this PR locally:

bunx bun-pr 16244

src/fs.zig Outdated Show resolved Hide resolved
@DonIsaac DonIsaac requested a review from dylan-conway January 11, 2025 05:37
@Jarred-Sumner Jarred-Sumner merged commit 70362c3 into main Jan 13, 2025
69 checks passed
@Jarred-Sumner Jarred-Sumner deleted the riskymh/import-bun-lock branch January 13, 2025 04:08
cirospaciari pushed a commit that referenced this pull request Jan 13, 2025
paperclover pushed a commit that referenced this pull request Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants